package com.xiaoke.java;

/**
 * 测试设置方法区大小参数的默认值
 *
 * jdk7及以前
 * -XX:PermSize=100m -XX:MaxPermSize=100m
 *
 * jdk8及以后
 * -XX:MetaspaceSize=100m -XX:MaxMetaspaceSize=100m
 *
 * @author yd
 * @version 1.0
 * @date 2022/2/22 20:22
 */
public class MethodAreaDemo {

    public static void main(String[] args) {
        System.out.println("Start......");
        try {
            Thread.sleep(1000000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
